Finds items with keys greater than the specified value.

Namespace:  C1.LiveLinq.Indexing.Search
Assembly:  C1.LiveLinq (in C1.LiveLinq.dll)

Syntax

C#
IndexQuery<T, TKey> FindGreater(
	TKey key,
	bool inclusive,
	Func<TKey, bool> keyPredicate,
	Order order
)
Visual Basic
Function FindGreater ( _
	key As TKey, _
	inclusive As Boolean, _
	keyPredicate As Func(Of TKey, Boolean), _
	order As Order _
) As IndexQuery(Of T, TKey)

Parameters

key
Type: TKey
Minimum key value to search for.
inclusive
Type: System..::..Boolean
If true, the result includes items with the specified key value. Otherwise, the result only includes those with keys strictly greater than the specified value.
keyPredicate
Type: System..::..Func<(Of <(<'TKey, Boolean>)>)>
An optional condition that found items must satisfy.
order
Type: C1.LiveLinq..::..Order
Optionally specifies the order of the key values to sort the result (Order.Unordered if sorting is not required).

Return Value

An object enumerating all items whose key values are greater than the specified value.

See Also